<?php
namespace Foam\Model;

class Note
{
    public $id_note;
    public $achat;
    public $labo;
    public $qualite;
    public $marketing;
    public $formation;
    public $operation;
    public $rd;
    public $id_produit;
    
    public function exchangeArray($data)
    {
        $this->id_note = (isset($data['id_note'])) ? $data['id_note'] : null;
        $this->achat = (isset($data['achat'])) ? $data['achat'] : null;
        $this->labo = (isset($data['labo'])) ? $data['labo'] : null;
        $this->qualite = (isset($data['qualite'])) ? $data['qualite'] : null;
        $this->marketing = (isset($data['marketing'])) ? $data['marketing'] : null;
        $this->formation = (isset($data['formation'])) ? $data['formation'] : null;
        $this->operation = (isset($data['operation'])) ? $data['operation'] : null;
        $this->rd = (isset($data['rd'])) ? $data['rd'] : null;
        $this->id_produit = (isset($data['id_produit'])) ? $data['id_produit'] : null;
    }
}